package com.quanyan.ic.video.model.hik8710;

import com.alibaba.fastjson.JSON;

import java.io.Serializable;

/**
 * Created by zhuo.shi on 2017/8/16.
 */
public class Hik8710Event implements Serializable {

    private String event_id;             //事件id
    private Integer event_type;          //事件类型：131331移动侦测 131585穿越警戒线 131588区域入侵
    private String event_name;           //事件名
    private String res_index;            //摄像头id
    private String res_name;             //摄像头位置
    private Byte state;                 //事件状态：0 瞬时 1 开始 2 停止，其中1 2不存在于穿越警戒线和区域入侵事件中
    private String time;                //事件捕获时间
    private String info;
    private String pic;                 //事件捕获时抓拍图片

    private boolean isMock = false;       //是否是模拟事件，默认为海康8710平台推送事件

    public String getEvent_id() {
        return event_id;
    }

    public void setEvent_id(String event_id) {
        this.event_id = event_id;
    }

    public Integer getEvent_type() {
        return event_type;
    }

    public void setEvent_type(Integer event_type) {
        this.event_type = event_type;
    }

    public String getEvent_name() {
        return event_name;
    }

    public void setEvent_name(String event_name) {
        this.event_name = event_name;
    }

    public String getRes_index() {
        return res_index;
    }

    public void setRes_index(String res_index) {
        this.res_index = res_index;
    }

    public String getRes_name() {
        return res_name;
    }

    public void setRes_name(String res_name) {
        this.res_name = res_name;
    }

    public Byte getState() {
        return state;
    }

    public void setState(Byte state) {
        this.state = state;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getInfo() {
        return info;
    }

    public void setInfo(String info) {
        this.info = info;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public boolean isMock() {
        return isMock;
    }

    public void setMock(boolean mock) {
        isMock = mock;
    }

    public String toString() {
        return JSON.toJSONString(this);
    }
}
